package com.wbk.lotterysystemsystemservice.controller.admin;

import com.wbk.lottery.feign.LotteryFeign;
import com.wbk.lottery.qo.LotteryAuditQO;
import com.wbk.lottery.vo.LotteryVO;
import com.wbk.user.qo.StoreAuditQO;
import com.wbk.user.vo.StoreVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import result.Result;

@Api
@RestController
@RequestMapping("/system/api/admin/lottery")
public class LotteryController {

    @Autowired
    LotteryFeign lotteryFeign;

    @ApiOperation(value = "抽奖审核接口", notes = "抽奖审核")
    @PostMapping("/lotteryAudit")
    public Result<LotteryVO> lotteryAudit(@RequestBody LotteryAuditQO lotteryAuditQO) {
        return lotteryFeign.lotteryAudit(lotteryAuditQO);
    }
}
